using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

using MINERP.DAL.PrintManage;

namespace MINERP.BLL.PrintManage
{
    public class BLLLogin
    {
        DALLogin dalLogin = new DALLogin();

        public int GetPrint(out DataSet dsPrint)
        {
            return dalLogin.GetPrint(out dsPrint);
        }

        public int Login(int printID)
        {
            return dalLogin.Login(printID);
        }

        public int CheckUser(string name, string pwd)
        {
            return dalLogin.Check(name, pwd);
        }

        public bool IsUser(string name, string pwd)
        {
            return dalLogin.IsUser(name,pwd);
        }
    }
}
